package com.example.perpetualcalendar.domain.entity;

public class Almanac {

    /**
     * reason : successed
     * result : {"id":"3962","yangli":"2021-02-19","yinli":"辛丑(牛)年正月初八","wuxing":"城头土 建执位","chongsha":"冲猴(壬申)煞北","baiji":"戊不受田田主不祥 寅不祭祀神鬼不尝","jishen":"天赦","yi":"纳采 会亲友 竖柱 上梁 立券 入殓 移柩 安葬 启钻","xiongshen":"小时 月建 土府 往亡 天刑","ji":"祭祀 移徙 入宅 动土 破土"}
     * error_code : 0
     */

    private String reason;
    /**
     * id : 3962
     * yangli : 2021-02-19
     * yinli : 辛丑(牛)年正月初八
     * wuxing : 城头土 建执位
     * chongsha : 冲猴(壬申)煞北
     * baiji : 戊不受田田主不祥 寅不祭祀神鬼不尝
     * jishen : 天赦
     * yi : 纳采 会亲友 竖柱 上梁 立券 入殓 移柩 安葬 启钻
     * xiongshen : 小时 月建 土府 往亡 天刑
     * ji : 祭祀 移徙 入宅 动土 破土
     */

    private ResultDTO result;
    private int error_code;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public static class ResultDTO {
        private String id;
        private String yangli;
        private String yinli;
        private String wuxing;
        private String chongsha;
        private String baiji;
        private String jishen;
        private String yi;
        private String xiongshen;
        private String ji;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getYangli() {
            return yangli;
        }

        public void setYangli(String yangli) {
            this.yangli = yangli;
        }

        public String getYinli() {
            return yinli;
        }

        public void setYinli(String yinli) {
            this.yinli = yinli;
        }

        public String getWuxing() {
            return wuxing;
        }

        public void setWuxing(String wuxing) {
            this.wuxing = wuxing;
        }

        public String getChongsha() {
            return chongsha;
        }

        public void setChongsha(String chongsha) {
            this.chongsha = chongsha;
        }

        public String getBaiji() {
            return baiji;
        }

        public void setBaiji(String baiji) {
            this.baiji = baiji;
        }

        public String getJishen() {
            return jishen;
        }

        public void setJishen(String jishen) {
            this.jishen = jishen;
        }

        public String getYi() {
            return yi;
        }

        public void setYi(String yi) {
            this.yi = yi;
        }

        public String getXiongshen() {
            return xiongshen;
        }

        public void setXiongshen(String xiongshen) {
            this.xiongshen = xiongshen;
        }

        public String getJi() {
            return ji;
        }

        public void setJi(String ji) {
            this.ji = ji;
        }
    }
}
